<html><head><title>ToolBarSeparator</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">ToolBarSeparator()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>ToolBarSeparator</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Add a vertical separator to toolbar being constructed. <a href="createtoolbar.html">CreateToolBar()</a> must be 
called before to use this function. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.

</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">OpenWindow</font>(0, 0, 0, 150, 25, &quot;ToolBar&quot;, <font color="#924B72">#PB_Window_SystemMenu</font> | <font color="#924B72">#PB_Window_ScreenCentered</font>)
    <b><font color="#3A3966">If</font></b> <font color="#3A3966">CreateToolBar</font>(0,<font color="#3A3966"> WindowID</font>(0))
<font color="#3A3966">      ToolBarStandardButton</font>(0, <font color="#924B72">#PB_ToolBarIcon_New</font>)
<font color="#3A3966">      ToolBarSeparator</font>()
<font color="#3A3966">      ToolBarStandardButton</font>(1, <font color="#924B72">#PB_ToolBarIcon_Open</font>)
<font color="#3A3966">      ToolBarSeparator</font>()
<font color="#3A3966">      ToolBarStandardButton</font>(2, <font color="#924B72">#PB_ToolBarIcon_Save</font>)
<font color="#3A3966">      ToolBarSeparator</font>()
<font color="#3A3966">      ToolBarSeparator</font>()
    <b><font color="#3A3966">EndIf</font></b>
    <b><font color="#3A3966">Repeat</font></b>
      Event =<font color="#3A3966"> WaitWindowEvent</font>()
      <b><font color="#3A3966">If</font></b> Event = <font color="#924B72">#PB_Event_Menu</font>
        <b><font color="#3A3966">Debug</font></b> &quot;ToolBar ID: &quot;+<font color="#3A3966">Str</font>(<font color="#3A3966">EventMenu</font>())
      <b><font color="#3A3966">EndIf</font></b>
    <b><font color="#3A3966">Until</font></b> Event = <font color="#924B72">#PB_Event_CloseWindow</font> 
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>
<br>
<p><img src="../HelpPictures/toolbarseparator.png"></p>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="createtoolbar.html">CreateToolBar()</a>, <a href="toolbarstandardbutton.html">ToolBarStandardButton()</a>, <a href="toolbarimagebutton.html">ToolBarImageButton()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=toolbarimagebutton.html>ToolBarImageButton()</a> - <a href="index.html">ToolBar Index</a> - <a href="toolbarstandardbutton.html">ToolBarStandardButton()</a> -><br><br>

</body></html>